# quark (personal build)

**quark** simple static site server from suckless.org. It is an extremely small and simple HTTP GET/HEAD-only web server for static content.

__NOTE:__ This is not my code. I have taken the source from [here](https://tools.suckless.org/quark/).


## Patches

- [noroot](https://tools.suckless.org/quark/patches/noroot/)


## Update

To update the source code to newest version:

```
cd src
git pull --rebase
```

You can also clone it afresh if you want to:

```
rm -rf src
git clone --depth=1 https://git.suckless.org/quark src
```


## Patch

The source should be in `src` directory and patches should be in `patches` directory. You just run `./patch.sh`. It should apply all the patches in the `patches` folder.


## Building

To build and install:

```
cd build
make clean && make
sudo make install
```

## Using

```
quark -p 3300 -d /path/to/some/www/directory
```

For details check out `man quark`
